package model;

import java.awt.Color;

/**
 * In this class you find the data for the whole GUI initialization
 * @author  Natal Venetz
 * @since  0.01
 * @version  0.01
 */
public class GuiData {
	
	/**
	 * INSTANCE 
	 */
	private static GuiData guiData;

	/**
	 * Main Window Width
	 */
	private int mainWindowWidth;
	
	/**
	 * Main Window Height
	 */
	private int mainWindowHeight;
	
	/**
	 * Main Window Name
	 */
	private String mainWindowName;
	
	/**
	 * Map Window Background Color
	 */
	private Color backgroundColor;
	
	private GuiData() {
        // private constructor to avoid instances created uncontrolled.
		mainWindowName = "Two Dim Edit";
		backgroundColor = Color.GRAY;
    }
	
	public static GuiData getInstance() {
		
		if(guiData == null) {
			
			guiData = new GuiData();
		}
		
		return guiData;
	}

	/**
	 * @return
	 */
	public int getMainWindowWidth() {
		return mainWindowWidth;
	}

	/**
	 * @param mainWindowWidth
	 */
	public void setMainWindowWidth(int mainWindowWidth) {
		this.mainWindowWidth = mainWindowWidth;
	}

	/**
	 * @return
	 */
	public int getMainWindowHeight() {
		return mainWindowHeight;
	}

	/**
	 * @param mainWindowHeight
	 */
	public void setMainWindowHeight(int mainWindowHeight) {
		this.mainWindowHeight = mainWindowHeight;
	}

	/**
	 * @return
	 */
	public String getMainWindowName() {
		return mainWindowName;
	}

	/**
	 * @param mainWindowName
	 */
	public void setMainWindowName(String mainWindowName) {
		this.mainWindowName = mainWindowName;
	}

	/**
	 * @param backgroundColor
	 */
	public Color getBackgroundColor() {
		return backgroundColor;
	}
	
	
	
}
